
 <foreach name="angleList" item="vo" key="k">
  <if condition="$vo.status neq null">
  <li>
   	<div class="d_title">机位{$k+1}</div>
       <div class="con">
         <div class="d_title_in"><span id="name_span_{$k+1}">{$vo.name}</span> <a href="javascript:void(1);" class="update_name" data-id="{$vo.camera_id}" data-index="{$k+1}" id="update_name_{$k+1}">修改</a></div>
         <p class="miaoshu"><span style="width:56px;padding-right:0;">信号来源：<if condition="$vo.signal_source eq 1">频道</if><if condition="$vo.signal_source eq 2">资源池</if></span>
           <span style="padding-right:0;float: right; width:122px;text-overflow:ellipsis;word-break:keep-all;white-space:nowrap; overflow:hidden;" title="{$vo.source_name}"><if condition="$vo.signal_source eq 1">线路：{$vo.source_name}</if><if condition="$vo.signal_source eq 2">视频名称：{$vo.source_name}</if></span></p>
           <div class="play_box">
           	<input type="button" data-id="{$vo.camera_id}" data-signal_source="{$vo.signal_source}" data-file_id="{$vo.file_id}" data-txy_channel_id="{$vo.txy_channel_id}" data-index="{$k+1}" id="play_{$k+1}" class="play_btn" />
           	<img src="{$image_url}" />
           </div>
           <dl>
               <dd style="margin-left:-1px;width:55px;">
               <input name="select_radio" id="select_{$k+1}" data-index="{$k+1}" style="margin-bottom:5px;" type="radio" value="" /> 选择</dd>
               <dd style="width:85px;">
               <a href="javascript:void(1);" class="change_status" data-id="{$vo.camera_id}" data-status="{$vo.status}" 
               data-index="{$k+1}" id="change_status_{$k+1}"><if condition="$vo.status eq 2">开启信号源</if><if condition="$vo.status eq 1">关闭信号源</if></a></dd>
               <dd style="width:85px;">
               <a href="javascript:void(1);" class="change_signal" data-name="{$vo.name}" data-signal_source="{$vo.signal_source}" data-operator_id="{$vo.operator_id}" data-source_id="{$vo.source_id}" data-id="{$vo.camera_id}" data-status="{$vo.status}" data-index="{$k+1}" id="change_signal_{$k+1}">切换信号源</a></dd>
           </dl>                                                 
       </div>
   </li>
   </if>
   </foreach>

    <li <?php if(in_array($live['category'],array(1,4)) && $live['is_fast'] == 1){ echo "style='display:none;'";}?> >
   	<div class="d_title">机位{$angleList|count }</div>
       <div class="con">
       	<div class="d_title_in"></div>
         <p class="miaoshu"></p>
         <div class="play_box">
           	<a href="javascript:void(1);" id="addCameraAngle"><img src="__PUBLIC__/images/add_dbicon.png" /></a>
           </div>
           <dl>
             <dd style="margin-left:-1px;"></dd><dd></dd>
           </dl>                                                 
       </div>
   </li>
   <script>
	$(document).ready(function(){
		add_click();
	});
	</script>